package com.supreme.commonmybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.supreme.commonmybatis.entity.mbpmap.AuthUser;
import com.supreme.commonmybatis.entity.mbpmap.BizUser;
import com.supreme.commonentity.mysql.primary.SysUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<SysUser> {

    AuthUser selectAuthUser(@Param(value = "username") String username, @Param(value = "password") String password);

    BizUser selectUserBizInfo(@Param(value = "userId") Long userId);

    BizUser selectUserBizInfo2(@Param(value = "userId") Long userId);
}
